package com.running.base.run.util;

/**
 * User: wangyu08
 * Date: 09/12/2017
 * Time: 14:51
 */
public class NumberUtils {

    public static boolean isValid(Integer intValue) {
        return !isNotValid(intValue);
    }

    public static boolean isNotValid(Integer intValue) {
        return intValue == null || intValue <= 0;
    }
    
    public static boolean isNotValid(Long longValue) {
    	return longValue == null || longValue <= 0;
    }
}
